package com.liuzh.fitnessplan.database.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.liuzh.fitnessplan.database.bean.Sports

@Dao
interface SportsDao {

    @Insert
    fun addData(vararg sports: Sports)

    @Query("SELECT * FROM Sports")
    fun getData() : List<Sports>
}